<?php

require_once('../functions/mainFns.php');
session_start();

do_html_header('调测页面','message','message');
?>

<?php

Class Point{
	var $id;
	var $road;
	function __construct($id,$road){
		$this->id 	= $id;
		$this->road = $road;
	}
}

$p[1]  = array('id'=>1,'road'=>array(2,3));
$p[2]  = array('id'=>2,'road'=>array(1,4));
$p[3]  = array('id'=>3,'road'=>array(1,5,6));
$p[4]  = array('id'=>4,'road'=>array(2,8));
$p[5]  = array('id'=>5,'road'=>array(3,9));
$p[6]  = array('id'=>6,'road'=>array(3));
$p[7]  = array('id'=>7,'road'=>array(3,10));
$p[8]  = array('id'=>8,'road'=>array(4));
$p[9]  = array('id'=>9,'road'=>array(5));
$p[10] = array('id'=>10,'road'=>array(7.11));
$p[11] = array('id'=>11,'road'=>array(7));



var_dump($p);

getroad(10,11,$p);

function getroad($start,$end,$p){ //start=1 end=11
	if(in_array($end,$p[$start]['road'])){	//如果结尾在start的road里，就找到啦
		return "find $end";
	}
	$visited = array();
	array_push($visited,$start);		//设start为访问过的节点
	
	//$count = count($start->road);
/* 	foreach($start['road'] as $k=>$nextpoint){	//针对road中每个元素做循环
		if(!in_array($nextpoint,$visited)){		//判断road是否有访问过的元素
			$id = 
			getroad($p);
		}
	} */
}














?>
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\functions\outputFns.php on line <i>241</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0007</td><td bgcolor='#eeeeec' align='right'>443368</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.3007</td><td bgcolor='#eeeeec' align='right'>623016</td><td bgcolor='#eeeeec'>showPostReply(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>193</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\functions\outputFns.php on line <i>242</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0007</td><td bgcolor='#eeeeec' align='right'>443368</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.3007</td><td bgcolor='#eeeeec' align='right'>623016</td><td bgcolor='#eeeeec'>showPostReply(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>193</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\functions\outputFns.php on line <i>243</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0007</td><td bgcolor='#eeeeec' align='right'>443368</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.3007</td><td bgcolor='#eeeeec' align='right'>623016</td><td bgcolor='#eeeeec'>showPostReply(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>193</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\functions\outputFns.php on line <i>244</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0007</td><td bgcolor='#eeeeec' align='right'>443368</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.3007</td><td bgcolor='#eeeeec' align='right'>623016</td><td bgcolor='#eeeeec'>showPostReply(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>193</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\functions\outputFns.php on line <i>245</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0007</td><td bgcolor='#eeeeec' align='right'>443368</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.3007</td><td bgcolor='#eeeeec' align='right'>623016</td><td bgcolor='#eeeeec'>showPostReply(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>193</td></tr>
</table></font>

<div class='PostReply' replyid="" 
	id='reply' name='reply' 
	user_id=''>
	<div class='replyUserHead text-center'>
		<img src="../images/system/defaultHead.jpg">
	</div><div class='postReplyDiv'>
		<div class='replynickname'>
			<span class='r-nickname'></span>
						<span class='replytime'>47 年前</span>
		</div>
		<div class='preplycontent'></div>
	</div>
</div>










( ! ) Notice: Undefined index: postid in C:\wamp\www\sevsb_xiaoyu\mview\view\showReply.php on line 5
Call Stack
#	Time	Memory	Function	Location
1	0.0005	369744	{main}( )	..\showReply.php:0


null
mainfns.js:181 null
mainfns.js:182 null
mainfns.js:183 null
showDialogList.js:26 <br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php on line <i>219</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0011</td><td bgcolor='#eeeeec' align='right'>451200</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php on line <i>221</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0011</td><td bgcolor='#eeeeec' align='right'>451200</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php on line <i>222</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0011</td><td bgcolor='#eeeeec' align='right'>451200</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
</table></font>
<pre class='xdebug-var-dump' dir='ltr'><font color='#3465a4'>null</font>
</pre><pre class='xdebug-var-dump' dir='ltr'><font color='#3465a4'>null</font>
</pre><br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\functions\outputFns.php on line <i>223</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0011</td><td bgcolor='#eeeeec' align='right'>451200</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.1014</td><td bgcolor='#eeeeec' align='right'>637672</td><td bgcolor='#eeeeec'>showPostReply(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>226</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\functions\outputFns.php on line <i>224</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0011</td><td bgcolor='#eeeeec' align='right'>451200</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.1014</td><td bgcolor='#eeeeec' align='right'>637672</td><td bgcolor='#eeeeec'>showPostReply(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>226</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\functions\outputFns.php on line <i>225</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0011</td><td bgcolor='#eeeeec' align='right'>451200</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.1014</td><td bgcolor='#eeeeec' align='right'>637672</td><td bgcolor='#eeeeec'>showPostReply(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>226</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\functions\outputFns.php on line <i>226</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0011</td><td bgcolor='#eeeeec' align='right'>451200</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.1014</td><td bgcolor='#eeeeec' align='right'>637672</td><td bgcolor='#eeeeec'>showPostReply(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>226</td></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Trying to get property of non-object in C:\wamp\www\sevsb_xiaoyu\mview\functions\outputFns.php on line <i>227</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0011</td><td bgcolor='#eeeeec' align='right'>451200</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.1014</td><td bgcolor='#eeeeec' align='right'>637672</td><td bgcolor='#eeeeec'>showPostReply(  )</td><td title='C:\wamp\www\sevsb_xiaoyu\mview\actions\c2cAction.php' bgcolor='#eeeeec'>..\c2cAction.php<b>:</b>226</td></tr>
</table></font>
<div class='PostReply' replyid="" 
	id='reply' name='reply' 
	user_id=''>
	<div class='replyUserHead text-center'>
		<img src="../images/system/defaultHead.jpg">
	</div><div class='postReplyDiv'>
		<div class='replynickname'>
			<span class='r-nickname'></span>
					</div>
		<div class='preplycontent'></div>
		<div class='replytime'>47 年前</div>
	</div>
</div>

mainfns.js:238 65




